package com.typhoon.extend.constant;

/**
 * 权限管理相关常量
 * 
 * @author Typhoon
 *
 */
public interface ShiroConstants {
	
	
    String ROLES = "roles";

    String SYS_MENU_LIST = "sysMenuList";

   String PERMISSIONS = "permissions";

	/**
	 * 权限类型枚举类
	 * 
	 * @author Typhoon
	 *
	 */
	public enum PermissionTypeEnum {
		
		MENU("MENU", "菜单"), ACTION("ACTION", "操作");

		private String key;

		private String name;

		private PermissionTypeEnum(String key, String name) {
			this.key = key;
			this.name = name;
		}

		public String getKey() {
			return key;
		}

		public void setKey(String key) {
			this.key = key;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}
	}

}
